<?php

/**
 * Created by PhpStorm.
 * User: fengchen
 * 此文件用于定义路由
 */
return [
    'URL_MODEL'     => 3,
    'URL_ROUTER_ON' => true,                             // 开启路由

    'URL_ROUTE_RULES' => [                            // 路由规则
        /*各种详情路由*/
        "/"=>'Home/Index/index',
        "index$"=>'Home/Index/index',
        'fangan$' => 'Home/Index/news?sid=1',
        'fangan/:aid' => 'Home/Index/page',
        'jianzheng$' => 'Home/Index/news?sid=2',
        'jianzheng/:aid' => 'Home/Index/page',
        'bosen$' => 'Home/Index/news?sid=3',
        'bosen/:aid' => 'Home/Index/page',
        'baike$' => 'Home/Index/news?sid=4',
        'baike/:aid' => 'Home/Index/page',
        'wenda$' => 'Home/Index/news?sid=5',
        'wenda/:aid' => 'Home/Index/page',
        'about$' => 'Home/Index/about',
        'fengcai$' => 'Home/Index/fengcai',
        'huanjing$' => 'Home/Index/huanjing',
        'application$'=>'Home/Index/application',
        'export$'=>'Qwadmin/Message/export',
        'honor$'=>'Home/Index/honor',
        'contact$'=>'Home/Index/contact',
        'product$' => 'Home/Index/product',
        'detail/:id' => 'Home/Index/detail',
        'news$' => 'Home/Index/news?sid=3',
        'article/:aid' => 'Home/Index/page',
        'news/:aid' => 'Home/Index/page',
    ],
];
